﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FactoryMethod
{
    //具体工厂1：实现了厂品的生成方法
    class ConcreteFactory1 : AbstractFactory
    {
        public Product newProduct()
        {
            Console.WriteLine("具体工厂1生成-->具体产品1...");
            return new ConcreteProduct1();
        }
    }
}
